package com.example.farmeri.data.config;

import com.example.farmeri.R;
import com.example.farmeri.pojo.MenuItem;
import com.example.farmeri.ui.data_collect.DataCollectActivity;
import com.example.farmeri.ui.farm_manager.FarmManagerActivity;
import com.example.farmeri.ui.mine.AlertPasswordActivity;
import com.example.farmeri.ui.person_data.PersonDataActivity;
import com.example.farmeri.ui.strategy.AccessPolicyActivity;
import com.example.farmeri.ui.users.UsersManagerActivity;
import com.example.farmeri.ui.users.ViewPropertyActivity;

/**
 * Create by weiqishan on 2020/4/12.
 */
public class DataConfig {

    public final static MenuItem[]normalMenus = {
            new MenuItem(R.drawable.ic_property,"访问属性", ViewPropertyActivity.class),
            new MenuItem(R.drawable.ic_data,"个人资料", PersonDataActivity.class),
            new MenuItem(R.drawable.ic_password,"密码修改", AlertPasswordActivity.class),
//            new MenuItem(R.drawable.ic_collect,"数据采集", DataCollectActivity.class),
    };

    public final static MenuItem[]farmerMenus = {
            new MenuItem(R.drawable.ic_manage_farm,"农田管理", FarmManagerActivity.class),
            new MenuItem(R.drawable.ic_property,"访问属性", ViewPropertyActivity.class),
            new MenuItem(R.drawable.ic_data,"个人资料", PersonDataActivity.class),
            new MenuItem(R.drawable.ic_password,"密码修改", AlertPasswordActivity.class),
//            new MenuItem(R.drawable.ic_collect,"数据采集", DataCollectActivity.class),
    };
    public final static MenuItem[]adminMenus = {
            new MenuItem(R.drawable.ic_manage_farm,"农田管理", FarmManagerActivity.class),
            new MenuItem(R.drawable.ic_property,"访问属性", ViewPropertyActivity.class),
            new MenuItem(R.drawable.ic_data,"个人资料", PersonDataActivity.class),
            new MenuItem(R.drawable.ic_password,"密码修改", AlertPasswordActivity.class),
//            new MenuItem(R.drawable.ic_manage_authority,"权限管理", PersonDataActivity.class),
            new MenuItem(R.drawable.ic_policy,"访问策略", AccessPolicyActivity.class),
            new MenuItem(R.drawable.ic_manage_person,"用户管理", UsersManagerActivity.class),
    };

}
